//
//  HourseDetailCellV2.m
//  WGFGlobalHouses
//
//  Created by Andy on 15/7/13.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import "HourseDetailCellV2.h"

@interface HourseDetailCellV2 ()

@property (weak, nonatomic) IBOutlet UILabel *hourseCodeLab;
@property (weak, nonatomic) IBOutlet UILabel *openTimeLab;
@property (weak, nonatomic) IBOutlet UILabel *areaLab;
@property (weak, nonatomic) IBOutlet UILabel *baoZuLab;
@property (weak, nonatomic) IBOutlet UILabel *huiGouLab;
@property (weak, nonatomic) IBOutlet UILabel *rentLab;
@property (weak, nonatomic) IBOutlet UILabel *rateLab;
@property (weak, nonatomic) IBOutlet UILabel *hourseCountLab;
@property (weak, nonatomic) IBOutlet UILabel *saleCountLab;


@end


@implementation HourseDetailCellV2




+(instancetype) cellWithTableView:(UITableView *)tableview{
    return nil;
}

+(CGFloat)getHight:(CellBaseData*)data withTableView:(UITableView*)tableView{

    return 245;
}

-(void)setData:(CellBaseData*)data{


}



-(void)setMainData:(HourseDetailData *)data{

    [self.hourseCodeLab setText:data.hourseCode];
    [self.openTimeLab setText:data.openTime];
    [self.areaLab setText:data.area];
    [self.baoZuLab setText:data.baoZhu];
    [self.huiGouLab setText:data.huiGou];
    [self.rentLab setText:data.rent];
    [self.rateLab setText:data.rentRate];
    [self.hourseCountLab setText:data.allCount];
    [self.saleCountLab setText:data.saledCount];
}


@end
